function isLoginType(type) {
  for (let key in this) {
    if (this[key] === type) {
      return true
    }
  }
  return false
}

const loginType = {
  USER_MINI_PROGRAM: 100,
  USER_PHONE: 101,
  USER_MOBILE: 102,
  isLoginType,
}
module.exports = {
  loginType,
}
